package modelo.improvistos;

import modelo.vehiculos.Auto;
import modelo.vehiculos.Camioneta;
import modelo.vehiculos.Moto;

public class Pozo extends  Improvisto{

	public Pozo(){
		super();
		this.setAjuste(3);
	}

	public void aplicarA(Moto unaMoto, int moverX, int moverY){
		unaMoto.mover(moverX, moverY);
		unaMoto.getConductor().aumentarMovsEn(this.getAjuste());
	}

	public void aplicarA(Auto unAuto, int moverX, int moverY){
		unAuto.mover(moverX, moverY);
		unAuto.getConductor().aumentarMovsEn(this.getAjuste());
	}

	public void aplicarA(Camioneta unaCamioneta, int moverX, int moverY){
		unaCamioneta.mover(moverX, moverY);
	}

}
